package com.leen.aspect.logdb;

/**
 * 操作枚举
 * @author wy
 */
public enum OperationEnum {

    UPDATE(0,"修改数据"),
    INSERT(1,"添加数据"),
    DELETE(2,"删除数据"),
    SELECT(3,"查询数据"),
;

    private int key;
    private String value;

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    OperationEnum(int key, String value) {
        this.key = key;
        this.value = value;
    }
}
